package com.cms.admin.service.stuff;

import com.cms.admin.model.PageBean;
import com.cms.admin.model.StuffList;
import com.cms.admin.model.StuffListExt;
import com.cms.admin.model.UserList;

import java.util.List;

/**
 * Created by YYY-Work on 2017/4/27.
 */
public interface StuffService {

    List<StuffListExt> selectStuffList(PageBean page,StuffListExt example);
    List<StuffList> selectStuffList(StuffList example);
    int getRowCount(StuffListExt example);
    StuffList queryStuffListById(Long stuffid);
    int updateStuff(StuffListExt record);
    int addUser(UserList userList);
    UserList getUserByUserNo(String userNo);
    int addStuff(StuffListExt record);
    int addStuff(StuffListExt record,UserList userList);
}
